from django.core.mail import send_mail
from django.conf import settings
from libs.yuntongxun.sms import  CCP
from celery_tasks.main import app

@app.task(bind=True, name="send_verify_url")
def send_verify_url(self, verify_url, email):
    send_mail(subject="点击验证, 来自美多商城",
              message=verify_url,
              from_email="hsq373852472@163.com",
              recipient_list=[email])